﻿#region Copyright (C) Sector7 Software Studio. All rights reserved
/*******************************************************************************************
 * Creation
 *      Author:         Wolf Lai
 *      Date:           2013/6/20 星期四 10:13:20
 *      Version:        
 * Modification 
 *      Author: 
 *      Date: 
 *      Description: 
 *      Version:
 *******************************************************************************************/
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using Sector7.Framework.Core;
using Sector7.Framework.EntityType;

namespace Sector7.Medical.EntityType
{
    /// <summary>
    /// 挂号信息实体类
    /// </summary>
    [Serializable()]
    [DataContract]
    public class M7_RegistryRecord : EntityBase
    {
        #region Accessor
        /// <summary>
        /// 获取或设置挂号信息编号
        /// </summary>
        [DataMember]
        [DBFieldAttribute]
        public long RecordId { get; set; }

        /// <summary>
        /// 获取或设置电子病历编号
        /// </summary>
        [DataMember]
        [DBFieldAttribute]
        public string CitizenId { get; set; }

        /// <summary>
        /// 获取或设置挂号科室
        /// </summary>
        [DataMember]
        [DBFieldAttribute]
        public int DeptId { get; set; }

        /// <summary>
        /// 获取或设置挂号医生(EmpId)
        /// </summary>
        [DataMember]
        [DBFieldAttribute]
        public long DoctorId { get; set; }

        /// <summary>
        /// 获取或设置发票号
        /// </summary>
        [DataMember]
        [DBFieldAttribute]
        public string InvoiceNumber { get; set; }

        /// <summary>
        /// 获取或设置门诊类型
        /// </summary>
        [DataMember]
        [DBFieldAttribute]
        public int OutpatientType { get; set; }

        /// <summary>
        /// 获取或设置挂号类型
        /// </summary>
        [DataMember]
        [DBFieldAttribute]
        public int RegistryType { get; set; }

        /// <summary>
        /// 获取或设置医保类型
        /// </summary>
        [DataMember]
        [DBFieldAttribute]
        public int InsuranceType { get; set; }

        /// <summary>
        /// 获取或设置挂号费
        /// </summary>
        //[DataMember]
        //[DBFieldAttribute]
        //public decimal RegistryAmount { get; set; }

        /// <summary>
        /// 获取或设置新开卡费
        /// </summary>
        //[DataMember]
        //[DBFieldAttribute]
        //public decimal NewCardAmount { get; set; }

        /// <summary>
        /// 获取或设置系统操作员编号
        /// </summary>
        [DataMember]
        [DBFieldAttribute]
        public long OperatorId { get; set; }

        /// <summary>
        /// 获取或设置挂号记录时间
        /// </summary>
        [DataMember]
        [DBFieldAttribute]
        public DateTime RecordTime { get; set; }

        /// <summary>
        /// 获取或设置挂号费用合计
        /// </summary>
        [DataMember]
        [DBFieldAttribute]
        public decimal Amount { get; set; }

        /// <summary>
        /// 获取或设置就诊号
        /// </summary>
        [DataMember]
        [DBFieldAttribute]
        public int VisitNo { get; set; }

        /// <summary>
        /// 获取或设置医生
        /// </summary>
        [DataMember]
        [DBFieldAttribute]
        public int Status { get; set; }

        /// <summary>
        /// 获取或设置病人信息
        /// </summary>
        [DataMember]
        public S7_Citizen Patient { get; set; }

        /// <summary>
        /// 获取或设置站诊类型
        /// </summary>
        [DataMember]
        public M7_OutpatientType OutpatientTypeObject { get; set; }

        /// <summary>
        /// 获取或设置挂号类型
        /// </summary>
        [DataMember]
        public M7_RegistryType RegistryTypeObject { get; set; }

        /// <summary>
        /// 获取或设置挂号类型
        /// </summary>
        [DataMember]
        public M7_InsuranceType InsuranceTypeObject { get; set; }

        /// <summary>
        /// 获取或设置科室
        /// </summary>
        [DataMember]
        public M7_Department Department { get; set; }

        /// <summary>
        /// 获取或设置医生
        /// </summary>
        [DataMember]
        public M7_Employee Doctor { get; set; }

        #endregion
    }
}
